#include "PreCompiled.h"
#include "EntityMaterialProperty.h"

EntityMaterialProperty::EntityMaterialProperty(const char* name)
:EntityProperty(name)
{
}

EntityMaterialProperty::~EntityMaterialProperty(void)
{
}

void EntityMaterialProperty::setProperty()
{
	for(std::vector<EntityProperty*>::iterator it = _texlist.begin(); it != _texlist.end(); it++)
	{
		//tex
		(*it)->setProperty();
	}
}

void EntityMaterialProperty::addProperty(EntityProperty* texPro)
{
	_texlist.push_back(texPro);
}
